<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>设备轨迹展示</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
</head>
<body>
    <h1>设备运动轨迹展示</h1>
    <div id="inputSection">
        <label for="deviceId">输入设备 ID:</label>
        <input type="text" id="deviceId" placeholder="例如: 123">
        <button onclick="fetchTrajectory()">查看轨迹</button>
    </div>
    <div id="map"></div>

    <script src="{{ url_for('static', filename='js/script.js') }}"></script>
    <script src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=你的AK"></script>
</body>
</html>
